#ifndef WIDGET_NETWORK_H
#define WIDGET_NETWORK_H



#include "players.h"
#include "gui.h"



/** @brief Gui class for setting parameters of AI
*
*   \image html widget_network.jpeg
*/
class network_widget: public QWidget
{

	Q_OBJECT

public:

	/** @brief Creates part of the gui
	*	@param pl network player, for whom are the settings being configured, constraint: pl != 0
	*	@param nb button NEXT, constraint: nb != 0
	*	@param parent Qt parent
	*	@param flags Qt flags
	*/
	network_widget( player* pl, QPushButton* nb, QWidget* parent = 0, Qt::WindowFlags flags = 0 );


private:

	//! player, for whom are the settings being configured
	player* plr;
	//! button NEXT
	QPushButton* next_b;

};



#endif